//
//  Duck.h
//  KRoll
//
//  Created by VIETHUNG on 3/14/14.
//
//

#ifndef __KRoll__Duck__
#define __KRoll__Duck__

#include "cocos2d.h"
typedef enum
{
    isDie,
    isHit,
    isIdle
    
} DuckState;


USING_NS_CC;
class Duck: public CCSprite{
    
public:
    Duck(void);
    ~Duck(void);
    
    CC_SYNTHESIZE(DuckState, _state, State);
    
    static Duck * create (void);
    
    void goLeft(cocos2d::CCPoint bird_pos);
    void goRight(cocos2d::CCPoint bird_pos);
        
};

#endif /* defined(__KRoll__Duck__) */
